﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>Welcome to the IMDroid</title>
</head>
<body>
	<table border="0" cellpadding="0" cellspacing="0" width="100%"
		align="left">
		<tr>
			<td><c:if test="${empty sessionScope.imdroidUser.user_name}">
					请<a href="login.jsf">登录</a>
				</c:if> <c:if test="${not empty sessionScope.imdroidUser.user_name}">
				欢迎你，<c:out value="${sessionScope.imdroidUser.nickname}" />
				，<a href="logout.jsf">注销</a>
				</c:if>
			</td>
		</tr>
	</table>
	<br>
	<table border="0" cellpadding="0" cellspacing="0" width="100%"
		align="left">
		<tr>
			<td>Latest Version - Client: <a
				href="resource/client/IMDroid-Client.apk">Download</a>
			</td>
		</tr>
		<tr>
			<td>Latest Version - Lite: <a
				href="resource/client/IMDroid-Lite.apk">Download</a>
			</td>
		</tr>		
		<tr>
			<td><a href="ext/destination.jsf">下发目的地</a></td>
		</tr>
		<tr>
			<td><a href="ext/position.jsf">位置状态</a></td>
		</tr>
		<tr>
			<td><a href="ext/path.jsf">我的轨迹</a></td>
		</tr>
		<tr>
			<td><a href="ext/picture.jsf">图片</a></td>
		</tr>
		<tr>
			<td>违章记录</td>
		</tr>
		<tr>
			<td><a href="mgr/login.jsf">管理员登陆</a></td>
		</tr>

	</table>
</body>